// 封装localstorage功能
export const setStorage = (tokenObj) => {
  return localStorage.setItem('tokenStr', JSON.stringify(tokenObj))
}
export const getStorage = () => {
  return JSON.parse(localStorage.getItem('tokenStr'))
}
export const removeStorage = () => {
  localStorage.removeItem('tokenStr')
}
